package com.elysia.blogspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.elysia.blogspringboot.domain.entity.Resource;
import com.elysia.blogspringboot.domain.vo.ResourceVo;
import com.fasterxml.jackson.core.JsonProcessingException;

import java.util.List;

public interface IResourceService extends IService<Resource> {
    List<ResourceVo> getFileList() throws JsonProcessingException;
    boolean saveResourceInformation(Resource resource, byte[] bytes);
}
